Fix for #163702, from Ivan Wong:
authorTor Lillqvist <tml@novell.com>
Sun, 23 Jan 2005 00:38:17 +0000 (00:38 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 23 Jan 2005 00:38:17 +0000 (00:38 +0000)
commit736f4c87588d28919e9d2f27c904f17c78fc5d5e
tree3cbaaf1d5d5f7b2ac99af1a7c1031cf4c3d335b5
parent26629f7a935e81f63a03ff3ba71be1208b789f5e
Fix for #163702, from Ivan Wong:

2005-01-23  Tor Lillqvist  <tml@novell.com>

Fix for #163702, from Ivan Wong:

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
GDK_SELECTION_CLEAR event.

* gdk/win32/gdkselection-win32.c
(gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
when emptying the clipboard ourselves.

(gdk_selection_send_notify_for_display): Remove the artifical
GDK_SELECTION_CLEAR event generation.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/win32/gdkevents-win32.c
gdk/win32/gdkglobals-win32.c
gdk/win32/gdkprivate-win32.h
gdk/win32/gdkselection-win32.c